Communication device for vending machine and method of using the same

ABSTRACT

The present application is directed to systems and methods for transmitting vending machine data wirelessly via a reporting device. Each vending machine may connect to a reporting device. The reporting device may communicate with a mobile device wirelessly, where the mobile device may be carried by an operator. The reporting device may transmit vending machine data to the mobile device. The reporting device may transmit maintenance information to the mobile device. The mobile device may upload the vending machine data and maintenance information via a network to a remote device. The reporting device may enable a customer to make purchases with a mobile device. The reporting device may receive a repair-needed notification from a customer&#39;s mobile device.

RELATED APPLICATIONS

The present Application for Patent is a continuation of and claimspriority to U.S. Non-Provisional application Ser. No. 14/687,577, titled“COMMUNICATION DEVICE FOR VENDING MACHINE AND METHOD OF USING THE SAME,”filed Apr. 15, 2015, which claims priority to U.S. ProvisionalApplication No. 62/000,769, titled “AUTOMATED MERCHANDISING,” filed May20, 2014 and U.S. Provisional Application No. 62/091,780, titled“COMMUNICATION DEVICE FOR VENDING MACHINE,” filed Dec. 15, 2014; allassigned to the assignee hereof and all hereby expressly incorporated byreference herein.

BACKGROUND

This disclosure generally relates to a communication device for avending machine and a method for using the same. In particular, thisdisclosure relates to receiving data from a vending machine andtransmitting it to a computing device. In addition, this disclosurerelates to a vending machine management system.

Vending machines are found in many different areas: malls, offices,airports, etc. A vending machine may store various items such as foods,beverages, toys, gift cards, electronic devices, etc. Each itemavailable for purchase may have a purchase price and may be dispensedwhen a user selects the item and provides sufficient funds. A vendingmachine may accept cash, credit cards, near field communication devices,or other forms of payment.

To restock a vending machine, an operator may count a number of itemsneeded for each type of item. The operator may open up the vendingmachine and replace the number of items. For instance, the operator maycount five bags of jelly beans needed and two bags of potato chipsneeded. The operator may then restock the vending machine with five bagsof jelly beans and two bags of potato chips.

An operator may also need to service a vending machine. To service avending machine, the operator may take out some or all of the cash fromthe vending machine, fix any items that are stuck inside, adjust thepricing of one or more items, or fix the vending machine in any otherway.

An owner or operator of vending machines may need to restock and/orservice the vending machines. In some instances, a plurality of vendingmachines may be spread out in a small geographic area, e.g. in a samebuilding. In some instances, a subset of the plurality of vendingmachines may be in a small geographic area while another subset may bein a different geographic area, e.g. a different building.

SUMMARY

The systems, methods and devices of this disclosure each have severalinnovative aspects, no single one of which is solely responsible for thedesirable attributes disclosed herein.

One innovative aspect of the subject matter described in this disclosurecan be implemented in a communication device for a vending machine. Thedevice can include a vending machine interface, a wireless communicationinterface, a memory element, and a processor. The processor can receivevending machine data from the vending machine interface, the vendingmachine data identifying products sold. The processor can store, in thememory element, the received vending machine data. The processor canenter into a sleep mode when inactive. The processor can exit the sleepmode periodically. The processor can search, using the wirelesscommunication interface, for a nearby device. The processor canestablish, using the wireless communication interface, a connection to adevice. The processor can receive, from the device, a request for anencryption challenge. The processor can transmit, to the device, anencryption challenge. The processor can receive, from the device, aresponse to the encryption challenge. The processor can verify theresponse. And the processor can transmit, via the wireless communicationinterface, the vending machine data to the device.

In some implementations, the vending machine interface can detect avoltage level of the data port and convert the voltage level to avoltage level readable by the processor.

In some implementations, the vending machine interface can, wheninactive, disconnect from the vending machine.

In some implementations, the processor can receive, via the wirelesscommunication interface, a payment made from a second device. Theprocessor can store, in the memory element, a record of the payment. Andthe processor can transmit, via the vending machine interface, aninstruction to the vending machine to dispense an item associated withthe payment. In some implementations, the payment made from the seconddevice can be in the form of a promotional credit.

In some implementations, the processor can receive, via the wirelesscommunication interface, a repair-needed notification from a seconddevice. The processor can store, in the memory element, therepair-needed notification. And the processor can transmit, via thewireless communication interface, the repair-needed notification to thedevice.

In some implementations, the processor can establish, using the wirelesscommunication interface, a connection to a second device. And theprocessor can transmit, via the wireless communication interface, thevending machine data to the second device.

Another innovative aspect of the subject matter described in thisdisclosure can be implemented in a method of communicating with avending machine via a communication device having a vending machineinterface, a wireless communication interface, a memory element, and aprocessor. The method can include receiving vending machine data fromthe vending machine interface, the vending machine data identifyingproducts sold. The method can include storing, in the memory element,the received vending machine data. The method can include entering thecommunication device into a sleep mode when inactive, exiting the sleepmode periodically, and attempting to establish a connection to a nearbydevice. The method can include establishing, using the wirelesscommunication interface, a connection to the device. The method caninclude receiving, from the device, a request for an encryptionchallenge. The method can include transmitting, to the device, theencryption challenge. The method can include receiving, from the device,a response to the encryption challenge. The method can include verifyingthe response. The method can include transmitting, via the wirelesscommunication interface, the vending machine data to the device.

In some implementations, the method can include detecting, using thevending machine interface, a voltage level of a data port of the vendingmachine. The method can include converting, by the vending machineinterface, the voltage level to a voltage level readable by theprocessor.

In some implementations, the method can include disconnecting thevending machine interface, when inactive, from the vending machine.

In some implementations, the method can include receiving, via thewireless communication interface, a payment made from a second device.The method can include storing, in the memory element, a record of thepayment. The method can include transmitting, via the vending machineinterface, an instruction to the vending machine to dispense an itemassociated with the payment.

In some implementations, the method can include receiving, via thewireless communication interface, a repair-needed notification from asecond device. The method can include storing, in the memory element,the repair-needed notification. The method can include transmitting, viathe wireless communication interface, the repair-needed notification tothe device.

In some implementations, the method can include establishing, using thewireless communication interface, a connection to a second device. Themethod can include transmitting, via the wireless communicationinterface, the vending machine data to the second device.

Another innovative aspect of the subject matter described in thisdisclosure can be implemented in a vending machine management systemincluding a communication device for a vending machine and a mobilecomputing device. The communication device for a vending machine caninclude a processor, a vending machine interface for receiving vendingmachine data from the vending machine interface, a memory element forstoring the received vending machine data, and a first wirelesscommunication interface for transmitting and receiving data andinstructions. The vending machine data can identify products sold. Theprocessor can enter into a sleep mode when inactive, exit the sleep modeperiodically, and search for a nearby mobile computing device using thefirst wireless communication interface. The mobile computing device caninclude a second wireless communication interface for establishing aconnection to the first wireless communication interface and a computernetwork. The second wireless communication interface can transmit, tothe communication device, a request for an encryption challenge. Thesecond wireless communication interface can receive, from thecommunication device, the encryption challenge. The second wirelesscommunication interface can transmit, to the communication device, aresponse to the encryption challenge. The second wireless communicationinterface can receive the stored vending machine data from thecommunication device, subject to verification of the response by thecommunication device.

In some implementations, the vending machine interface can detect avoltage level of the data port and convert the voltage level to avoltage level readable by the processor.

In some implementations, the vending machine interface can, wheninactive, disconnect from the vending machine.

In some implementations, the communication device can receive, via thewireless communication interface, a payment made from a second device.The communication device can store, in the memory element, a record ofthe payment. And the communication device can transmit, via the vendingmachine interface, an instruction to the vending machine to dispense anitem associated with the payment.

In some implementations, the communication device can receive, via thewireless communication interface, a repair-needed notification from asecond device. The communication device can store, in the memoryelement, the repair-needed notification. And the communication devicecan transmit, via the wireless communication interface, therepair-needed notification to the mobile computing device.

In some implementations, the communication device can establish, usingthe wireless communication interface, a connection to a second device.The communication device can transmit, via the wireless communicationinterface, the vending machine data to the second device. And the mobilecomputing device can receive, via the second wireless communicationinterface, the vending machine data over the computer network.

Details of one or more implementations of the subject matter describedin this disclosure are set forth in the accompanying drawings and thedescription below. Other features, aspects, and advantages will becomeapparent from the description, the drawings and the claims. Note thatthe relative dimensions of the following figures may not be drawn toscale.

BRIEF DESCRIPTION OF THE DRAWINGS

The details of one or more implementations are set forth in theaccompanying drawings and the description below. Other features,aspects, and advantages of the disclosure will become apparent from thedescription, the drawings, and the claims, in which:

FIGS. 1A and 1B are overviews depicting implementations of a vendingmachine management system;

FIG. 2 is a block diagram depicting a general architecture of a vendingmachine;

FIG. 3 is a block diagram depicting a general architecture for areporting device that may be employed to implement various elements ofthe systems and methods described and illustrated herein;

FIG. 4 is a block diagram depicting a general architecture of a mobiledevice that may be employed with the reporting device of FIG. 3;

FIGS. 5A and 5B are flowcharts of embodiments of methods fortransmitting a vending machine inventory report from a reporting device;

FIG. 6 is a flowchart of an embodiment of a method for authenticating acomputing device for downloading vending machine data;

FIG. 7 is a flowchart of an embodiment of a method for authenticating acomputing device for downloading vending machine data;

FIG. 8 is a flowchart of an embodiment of a method for provisioning acommunication device for a vending machine;

FIG. 9 is a flowchart of an embodiment of a software interface forfacilitating a vending machine purchase from a computing device using acommunication device for a vending machine;

FIG. 10 is a flowchart of an embodiment of a software interface formanaging a communication device for a vending machine with a computingdevice; and

FIG. 11 is a flowchart of an embodiment of a software interface formanaging a communication device for a vending machine with a computingdevice.

The features and advantages of the present invention will become moreapparent from the detailed description set forth below when taken inconjunction with the drawings, in which like reference charactersidentify corresponding elements throughout. In the drawings, likereference numbers generally indicate identical, functionally similar,and/or structurally similar elements.

DETAILED DESCRIPTION

Following below are more detailed descriptions of various conceptsrelated to, and implementations of, methods, apparatuses, and systemsfor interfacing with a vending machine. The various concepts introducedabove and discussed in greater detail below may be implemented in any ofnumerous ways as the described concepts are not limited to anyparticular manner of implementation. Examples of specificimplementations and applications are provided primarily for illustrativepurposes.

An owner or operator of vending machines may employ one of severalstrategies to restock and otherwise maintain the vending machines.First, the operator may make two passes. Second, the operator may carryextra amount of every item.

For the first strategy, the operator may make two passes through each ofthe vending machines. In the first pass, the operator may note theamount of items missing in each of the plurality of vending machines. Inthe second pass, the operator may go back (e.g. to a storage vehicle orwarehouse) and retrieve the exact aggregate number of items that areneeded in all of the plurality of vending machines.

There are several drawbacks to the first strategy. First, the vendingmachines may be far apart from one another such that traveling betweenthe vending machines may add significant additional time required torestock and/or service the vending machines. Second, opening and closinga vending machine may take significant amount of time, and making twopasses may require additional time to open and close each vendingmachine.

For the second strategy, the operator may carry large amounts of everyitem that are provided in any of the plurality of vending machines. Theadvantage of the second strategy over the first strategy is that theoperator may potentially only have to make a single pass through all ofthe vending machines, thus reducing the amount of time traveling betweenthe vending machines and also opening and closing the vending machines.

There are, however, several drawbacks to the second strategy. First,carrying large amounts of every item may require a lot of work for theoperator, particularly because the vending machines may store manydifferent types of items. Carrying a lot of items also means that theoperator will likely travel slower compared to carrying less amount ofitems. Second, the operator may still need to make a second pass to allor some of the vending machines, as carrying a large amount of itemsdoes not guarantee that all items will be restocked. In order to makethe second pass, the operator may need to rearrange the inventory (e.g.in the warehouse) in order to access the items that are needed.Rearranging the inventory may take additional time and work that wouldnot have been necessary if the operator knew the number of itemsnecessary beforehand.

The two strategies described above can be improved upon. The operatorwould work more efficiently if he could make a single trip and carryonly the items that were required for each vending machine. If kits canbe prepared in response to reports, inventory may be reduced (bothwithin the vending machine and at the warehouse) and items in a vendingmachine would run out less often.

The present application is directed to systems and methods fortransmitting inventory data information wirelessly via a battery-powereddevice. Each vending machine may connect to a reporting device. Thereporting device may communicate with a mobile device wirelessly, wherethe mobile device may be carried by an operator. The mobile device maycommunicate with a data network and directly communicate with a serverand/or a control center.

At least one aspect of the present disclosure is directed to a systemfor a reporting device in a vending machine. The reporting device maywirelessly communicate a report to a mobile device. The reporting devicemay be powered by a battery, the vending machine, or an external powersource. The reporting device may wake up periodically and search for amobile device. If the reporting device finds a mobile device that isexecuting a reporting application, the reporting device may connect withthe mobile device. The reporting device may transmit an inventory reportto the mobile device. After the transmission, the reporting device maysleep for a predetermined period of time. The reporting device may thenrepeat this process.

FIG. 1A is and overview depicting implementations of a vending machinemanagement system. The system may include a vending machine 110, areporting device 120, and a mobile device 130. The system may alsoinclude a network 140 and one or more remote devices 150 a-150 n(generally referred to as remote device 150).

The vending machine 110 may store and display a plurality of items forpurchase. The vending machine 110 may comprise an interface by which auser may select and pay for a stored item. The vending machine 110 maybe restocked or serviced by an operator. The vending machine maycomprise a reporting device 120. The vending machine 110 is described ingreater detail in relation to FIG. 2.

The reporting device 120 may be within or attached to the vendingmachine 110. The reporting device 120 may be capable of communicatingwith the vending machine 110 via a communication interface. Thereporting device 120 may also be capable of communicating with a mobiledevice 130. The reporting device 120 may generate an inventory reportvia communicating with the vending machine 110. The reporting device 120may then provide the inventory report to the mobile device 130. Thereporting device 120 can provide the inventory report to the mobiledevice 130 via a direct wireless connection such as WiFi, near fieldcommunication (NFC), Bluetooth Low Energy (BLE) or the like. Thereporting device can be ruggedized to protect it from shipping damageand from the internal environment of the vending machine 110; e.g.,dust, extreme temperatures, and leaking or exploding beverages. Thereporting device 120 is described in greater detail in relation to FIG.3.

The mobile device 130 may be a smartphone, a wearable device, a tablet,a personal digital assistant, a laptop, a handheld device, or any othercomputing device as described below in relation to a remote device 150.A vending machine operator may carry the mobile device 130. In someembodiments, an operator may approach the vending machine 110 and thereporting device 120. A wireless or a wired connection may beestablished between the reporting device 120 and the mobile device 130.The mobile device 130 may receive a vending machine inventory report.The mobile device 130 can receive the vending machine inventory reportfrom the reporting device 120 regardless of whether the mobile device130 is connected to the network 140. In some embodiments, the mobiledevice 130 may perform additional analysis from the vending machineinventory report. In some embodiments, the mobile device 130 may uploadthe vending machine inventory report via a network 140 connection. Ifthe mobile device 130 is not connected to the network 140 at the time itreceives the vending machine inventory report from the reporting device120, it can store the vending machine inventory report in its memoryuntil a connection to the network 140 is reestablished. The mobiledevice 130 is described in further detail in relation to FIG. 4.

The network 140 may include a local area network (LAN), a wide areanetwork (WAN), a wireless link, an intranet, the Internet, orcombinations thereof. The mobile device 130 and the remote device 150may connect to the network 140. In some embodiments, the reportingdevice 120 may also connect to the network 140.

A remote device 150 connected to a network 140 may store or view thevending machine inventory report. The remote device 150 may be acomputer, a laptop, a desktop, a smartphone, a wearable device, atablet, a personal digital assistant, a set-top box, a smart television,a server device, a gaming console, a server, or any other computingdevice. The remote device 150 may include a data processor and a memory.The data processor may include a microprocessor, an application-specificintegrated circuit (ASIC), a field-programmable gate array (FPGA), amicro controller, a system-on-a-chip, or combinations thereof. Thememory may include, but is not limited to, electronic, integrate circuitassemblies, optical, magnetic, or any other storage or transmissiondevice capable of providing processor with program instructions. Thememory may store data and instructions. When executed by a processor, aninstruction may cause the processor to perform one or more operations.The remote device 150 may execute operating systems, softwareapplications, browser, and other applications. The remote device 150 mayinclude input and output interfaces and devices. Input devices include akeyboard, mouse, touchscreen, microphone, gyroscope, etc. Output deviceinclude a monitor, display, screen, speaker, haptic device, etc. Theremote device 150 may connect to the network 140 via a wireless or awired interface. Wireless interface may include Bluetooth, near-fieldcommunication, WiFi, optical scanner, radio, etc.

FIG. 1B is and overview depicting implementations of a vending machinemanagement system. The system may include a vending machine 110, areporting device 120, and mobile devices 130 and 160. The system mayalso include a network 140 and one or more remote devices 150 a-150 n(generally referred to as remote device 150).

In FIG. 1B, an additional mobile device 160 can interface with thereporting device 120. The mobile device 160 may be a smartphone, awearable device, a tablet, a personal digital assistant, a laptop, ahandheld device, or any other computing device as described above inrelation to a mobile device 130. The mobile device 160 may be carried bya customer or prospective customer of the vending machine as opposed toa vending machine operator. In some embodiments, a customer may approachthe vending machine 110 and the reporting device 120. A wireless or awired connection may be established between the reporting device 120 andthe mobile device 160. The mobile device 160 may receive a vendingmachine inventory report. In some embodiments, the mobile device 160 mayprompt the customer for permission to upload the vending machineinventory report via a network 140 connection. In some embodiments, themobile device 160 may upload the vending machine inventory report via anetwork 140 connection if the customer grants such permission. In someembodiments, the customer may be offered a reward or promotional offerfor uploading the vending machine inventory report. In some embodiments,the customer may make purchases from the vending machine 110 using themobile device 160. In some embodiments, the customer may sendrepair-needed notifications using the mobile device 160. The repairneeded notifications can be sent to the reporting device 120, or to aremote device 150. The mobile device 160 is described in further detailin relation to the mobile device 130 of FIG. 4.

FIG. 2 is a block diagram depicting a general architecture of a vendingmachine. In brief overview, the vending machine 110 may include aprocessor 210, memory 220, user interface module 230, data input device236, data output device 239, time module 240, currency module 250,currency device 255, item dispenser module 260, item dispenser device265, communication interface 270, and the reporting device 120.

Still referring to FIG. 2, and in more detail, the processor 210 may bea processor may include a microprocessor, an application-specificintegrated circuit (ASIC), a field-programmable gate array (FPGA), amicro controller, a system-on-a-chip, or combinations thereof. Theprocessor 210 may be designed or programed to operate, maintain,service, log the vending machine 110. The processor 210 may executeinstructions stored on memory 220. The processor 210 may also read orwrite data on memory 220. In some embodiments, the processor 210 and thememory 220 are in a single module or chip. In some embodiments, theprocessor 210 may be referred to as a vending machine controller (VMC).In some embodiments, the processor 210 and the modules may be referredto as the VMC.

Memory 220 may be one or more memory chips capable of storing data andallowing any storage location to be directly accessed by the processor210, such as Static random access memory (SRAM), Burst SRAM orSynchBurst SRAM (BSRAM), Dynamic random access memory (DRAM), Fast PageMode DRAM (FPM DRAM), Enhanced DRAM (EDRAM), Extended Data Output RAM(EDO RAM), Extended Data Output DRAM (EDO DRAM), Burst Extended DataOutput DRAM (BEDO DRAM), Enhanced DRAM (EDRAM), synchronous DRAM(SDRAM), JEDEC SRAM, PC100 SDRAM, Double Data Rate SDRAM (DDR SDRAM),Enhanced SDRAM (ESDRAM), SyncLink DRAM (SLDRAM), Direct Rambus DRAM(DRDRAM), or Ferroelectric RAM (FRAM). Memory 220 may also be read-onlymemory (ROM), such as Mask ROM, Programmable ROM, erasable programmableROM, or Electrically Erasable Programmable ROM. Memory 220 may storeinstructions, firmware, inventory reports, pricing, and other data thatmay be stored or recorded for the operation of the vending machine 110.

In some embodiments, the memory 220 may comprise a pricing module 222,an inventory module 224, a money module 226, and a reporting module 228.In some embodiments, one or more of these modules may be implemented inthe processor 210 or another module. In some embodiments, the memory 220may comprise additional modules such as the user interface module 230,the time module 240, the currency module 250, item dispenser module 260,and the communication interface 270.

The pricing module 222 may comprise a planography of all the itemsavailable in the vending machine 110. The pricing module 222 may furtherinclude location of each within the vending machine 110. Location of anitem provided by a vending machine 110 may be determined by row, shelf,and index number. In some embodiments, the location of an item providedby a vending machine 110 may be determined by key presses that are to bepressed by a user to select the item. In some embodiments, a locationmay be identified by an alphanumeric sequence, e.g. Dl. The pricingmodule 222 may store a corresponding price for each item. The pricingmodule 222 may be a table storing a location of each item and an itemidentifier. The item identifier may be a name, a brand, a description,etc. of an item. The pricing module 222 may comprise a table that storesthe location and item identifier of each item.

The inventory module 224 may store the total number of inventory storedwithin the vending machine 110. The inventory module 224 may store, forinstance, a location of an item and a corresponding amount of the item.The inventory module 224 may be stored as a table or combined with thepricing module. The inventory module 224 may store a time when an itemwas selected. The inventory module 224 may store a plurality of timeswhen items were selected as a list of purchase events. A purchase eventmay be a transaction initiated by a user of the vending machine 110. Theinventory module 224 may also store a total number of items that may bestored for each item. For instance, the vending machine 110 may havecapacity to store ten items in a particular location, e.g. Dl.

The money module 226 may store a total amount of money stored in thevending machine 110. The money module 226 may track each number of eachdenomination of cash, e.g. paper bills and coins. In some embodiments,the money module 226 may interface with the currency module 250. Themoney module 226 may also store a list of purchase events. The moneymodule 226 may store a total amount of cash in the vending machine 110.The money module 226 may store a total amount of purchases made on thevending machine 110.

The reporting module 228 may store one or more instructions that combinethe data in the pricing module 222, inventory module 224, and the moneymodule 226 and send the combined data as a report via a communicationinterface 270. In some embodiments, the reporting module 228 may beimplemented on the processor 210 or the communication interface 270. Insome embodiments, the reporting module 228 may comprise a list of datapointers, each of which may point to data that may be part of a report.

In some embodiments, the inventory module 224, the money module 226, andthe reporting module 228 may be a single module. In some embodiments,the inventory module 224, the money module 226, and the reporting module228 may store a report in memory 220. The report may be stored in thememory 220 as American Standard Code for Information Interchange (ASCII)characters. The report may be a digital exchange (DEX) file, e.g. storedata in a DEX protocol.

The user interface module 230 may comprise a user interface via which auser may select and initiate a transaction of one of the items stored inthe vending machine 110. In some embodiments, the user interface modulemay be stored in memory 220. The user interface module 230 maycommunicate with the processor. In some embodiments, the user interfacemay use a multi drop bus (MDB) to interface with the processor 210 orany other modules in memory 220 or otherwise. For instance, the userinterface module 230 may communicate via the MDB with the pricing module222, inventory module 224, money module 226, reporting module 228, itemdispenser module 260, communication interface 270, or the currencymodule 250. The user interface module 230 may be connected to andcommunicate with a data input device 236 and a data output device 239.The user interface module 230 may allow a user or an operator to selectan item via the data input device 236. The user interface module 230 mayoutput various information via the data output device 239.

The data input device 236 may allow a user or an operator to select anitem. In some embodiments, the data input device 236 may comprise aplurality of buttons. The data input device 236 may be used to select anitem via a location. In some embodiments, location may be analphanumeric sequence, a name of an item, a characteristic of an item,etc. In some embodiments, the data input device 236 may include a touchscreen. In some embodiments, the data input device 236 may include aplurality of buttons, each button labeled with a picture or a logo of anitem. In some embodiments, the data input device 236 may be used by anoperator to select one or more items and perform service functionalityto the vending machine 110, such as re-pricing items.

The data output device 239 may display or output data to a user or anoperator. In some embodiments, the data output device 239 may display aname, location, description, etc. of a selected item. In someembodiments, the data output device 239 may display a pricinginformation of an item. In some embodiments, the data output device 239may display that a reporting device 120 has detected or connected to amobile device.

The time module 240 may indicate a present time. In someimplementations, the time module 240 may be part of the processor 210.The time module 240 may be used by one or more modules and the reportingdevice 120. Any events, such as a user transaction or an operatoropening the vending machine 110, may be recorded with a timestamp fromthe time module 240.

The currency module 250 may interface with the processor 210 and othermodules to accept money from a user. In some embodiments, the currencymodule 250 may be included in memory 220. The currency module 250 may beconnected via a MDB or any other interface. The currency module 250 mayinterface with one or more currency devices 255. Different currencydevice 255 may be capable of accepting a form of currency. For instance,a currency device 255 may be operable to accept coins and/or cash. Thecurrency module 250 may communicate with the inventory module 224 and/orthe processor 210 to find a pricing of an item. The currency module 250may calculate and output money when a user puts in excess amounts ofmoney during a transaction. The currency module 250 may include, forinstance, a coin mech, bill validator, coin boxes, etc.

The item dispenser module 260 may interface with the processor 210 andother modules to dispense a selected item during a transaction. The itemdispenser module 260 may be part of memory 220. The item dispensermodule 260 may be connected via MDB or any other interface. The itemdispenser module 260 may communicate with an item dispenser device 265.The item dispenser device 265 may comprise any mechanical means ofproducing, vending, or in out ways supplying a selected item.

The communication interface 270 may interface with the processor 210and/or other modules to communicate with the reporting device 120. Thecommunication interface 270 may be any serial or parallel interface. Insome embodiments, the communication interface 270 may be a DEX port. Insome embodiments, the communication interface may be a MDB. Thecommunication interface 270 may comprise, for instance, a quarter-inchphone connector jack. In some embodiments, the communication interface270 may be a female jack. The jack may be on a same board as theprocessor and/or the VMC or may be found at the end of a flexibleextension cable. The pin-out of the jack may include transmit, receive,and ground. The pin-out may be labeled, respectively, as tip, ring, andsleeve. The communication interface 270 may allow a connection to anyother modules in the vending machine 110. For instance, thecommunication interface 270 allows a reporting device 120 to connectwith, communicate with, or read from the reporting module 228. In someembodiments, reporting device 120 may perform a handshake procedure withthe VMC via the communication interface 270. For instance, the reportingdevice 120 may send a request to the VMC and receive a response from theVMC. After receiving the response, the reporting device 120 may send aconfirmation to the VMC.

In embodiments where the communication interface 270 is a DEX port, theDEX port may transmit and receive signals at a predefined voltagelevels. In some embodiments, the DEX port may transmit and receivesignals at either RS-232C bipolar voltage levels, onTransistor-to-transistor logic (TTL) unipolar voltage levels, or onNational Instruments VISA voltage levels.

Data may be transmitted or received via the communication interface 270in different ways. Data may be a report, stored in memory 220 as ASCIIcharacters. In some embodiments, the data transmission may be structuredas an asynchronous half-duplex serial interface. In some embodiments,the data transmission may be synchronous. In some embodiments, the datatransmission may be full duplex. In some embodiments, the datatransmission may be a parallel interface. The communication interface270 may be characterized by or communicate in a baud rate. In someembodiments, the communication interface may have a baud rate of 9600bits/s. In some embodiments, the baud rate may be between 10 to 250000bits/s. For instance, the baud rate may be 300 bits/s, 1200 bits/s, 2400bits/s, 4800 bit/s, 14400 bits/s, 19200 bits/s, 28800 bits/s, etc. Thedata transmission may be characterized by eight-bit bytes. In someembodiments, the data transmission may use other size bytes, forinstance seven-bit, nine-bit, or ten-bit bytes. In some embodiments, thedata transmission may not include a parity bit for each byte. In otherembodiments, the data transmission may include a parity bit for eachbyte. In some embodiments, each byte may encode a character. Forinstance, each byte may encode a seven-bit ASCII character. In someembodiments, each byte may include a stop bit. In some embodiments, noflow control is used. In some embodiments, hardware flow control may beused, such as: Request To Send (RTS) and Clear To Send (CTS) in RTS flowcontrol; or Data Terminal Ready (DTR) and Data Set Ready (DSR) in DTRflow control. In some embodiments, software flow controls may be used.In some embodiments, open-loop flow control or closed-loop flow controlmay be used.

The VMC, via the reporting module 228 or any other module or theprocessor 110, transmit data via the communication interface 270. Thedata transmitted may be a DEX file. A DEX file may be an ASCIIcode-based electronic audit file. A DEX file may include information onsales/transactions, amount of cash of each denomination in each currencydevice 255, when the vending machine 110 has been opened, pricing,layout, and any other information regarding the operation of the vendingmachine 110. The DEX format may be created by the reporting module 228or by one or more modules via the processor 210.

The VMC may transmit a data file in blocks, also referred to as datablocks. In some embodiments, the VMC may transmit a DEX file in blocks.The blocks may have a maximum size. In some embodiments, a block mayhave a maximum size of 245 bytes. In other embodiments, the maximum sizeof a block may range from 8 bytes to 1048576 bytes.

A data block may include one or more control characters. In someembodiments, the start of a data block may be designated by a “Starttransmission” command. For instance, the start transmission command maybe a data link escape (DLE) character of start text character (STX). Insome embodiments, the end of a data block may be designated by a “Endtransmission” command. For instance, the end transmission command may bea DLE character of End of text character (ETX). In some embodiments, ablock may further comprise additional control characters, such as startof header (SOH) and End of transmission block (ETB) character.

In some embodiments, error-detecting code may be used to detect anychanges to raw data. In some embodiments, after all blocks have beentransmitted, a cyclic redundancy check (CRC) may be sent. The CRC may beany size. For instance, a 16-bit CRC (CRC-16) may be sent. In otherinstances, the CRC size may be between 1 bit to 64 bits. In someembodiments, other error detection schemes may be used, such asrepetition codes, checksums, cryptographic hash functions, anderror-correcting codes.

In an illustrative embodiment that uses a CRC-16, the CRC-16 may betransmitted as two 8-bit bytes, with the least significant byte sentfirst followed by the most significant byte second. The VMC may createthe CRC-16 using an algorithm based on the beginning and ending of atransmission block. The reporting device 120 must use the same algorithmto each incoming block to ensure proper translation. In someembodiments, CRC-16 may be used to check across all systems.

FIG. 3 is a block diagram depicting a general architecture for areporting device 120 that may be employed to implement various elementsof the systems and methods described and illustrated herein. In briefoverview, the reporting device 120 may comprise a processor 310, memory320, vending machine interface 330, a reporting module 332, anapplication controller interface 335 (ACI), and a wireless communicationinterface 340. The reporting device 120 may also include a power source360.

Still referring to FIG. 3, and in greater detail, the processor 310 maybe any microcontroller or microprocessor, as described in relation tothe processor 210 of FIG. 2. In some embodiments, the processor 310 maybe a microcontroller unit (MCU). In some embodiments, the processor 310may be made by Texas Instruments Inc., located in Dallas, Tex. In someembodiments, the processor 310 may be an ARMO CORTEX-MO CPU by ARM Ltd.,located in Cambridge, United Kingdom. The processor 310 may perform anychecks, e.g. CRC-16, on the incoming data from the vending machineinterface 330. In some embodiments, the processor 310 may include atimer 350. The timer 350 may be used by the processor 310 or the memory320. The time 350 may be used to wake the reporting device 120 at aspecified interval 120. The timer 350 may be used to find a current timeto write a time stamp on an event or a report. In some embodiments, theprocessor 310 may include one or more of the other components of thereporting device 120. For instance, the processor 310 may be a singlechip that includes or incorporates the memory 320, the reporting module332, the ACI 335, the wireless interface 340, the report generator 324,the power manager 328, and/or the vending machine interface 330. Forinstance, a processor 310 that is a MCU may incorporate a wirelessinterface 340 with the processor 310.

In some embodiments, the processor 310 may be programmed. In someembodiments, instructions which can be executed by the processor 310 maybe stored in the memory 320. In some embodiments, the processor 310 maybe programmed over the ACI 335, or another interface. In someembodiments, processor 310 may be programmed over universal asynchronousreceiver/transmitter (UART) pins. In some embodiments, no flow controlis used to program over the UART pins. In some embodiments, theprocessor 310 may be programmed to different module settings. In someembodiments, the processor 310 may be programmed using Hayes modemcommands, such as a modem's attention commands (AT commands).

The memory 320 may be any memory as describe in relation to the memory220 of FIG. 2. The memory may include a device identifier 326 and apower manager 328. In some embodiments, the reporting module 332, thetimer 350, or the ACI 335 may be stored within the memory 320 asexecutable instructions. The device identifier 326 may be analphanumeric string that uniquely identifies the reporting device 120.In some embodiments, the device identifier 326 may be appended with alocation information of the vending machine 110, the owner of thereporting device 120, and any other information regarding the vendingmachine 110 and the reporting device 120.

The power manager 328 may interface with the processor 310 and/or thetimer 350. In some embodiments, the power manager 328 may be outside thememory 320 and connected to the processor 310. The power manager 328 mayplace the reporting device 120 in a sleep mode. After a predefinedamount of time, which may be defined in memory, the power manager maywake up the reporting device 120, including the ACI 335 and the wirelesscommunication interface 340. If the wireless communication interface 340does not find any mobile device 130 to connect to, the power manager 328may place the reporting device 120 back to sleep for the predefinedamount of time. In this manner, the energy consumption of the reportingdevice 120 can be low, allowing it to run on a limited power source formonths or years without a dedicated power connection or frequentmaintenance.

The vending machine interface 330 may comprise an interface by which thereporting module 332 communicates with the VMC via the communicationinterface 270 of FIG. 2. The vending machine interface 330 may operateat a voltage level that the communication interface 270 uses. Thevending machine interface 330 may be connected to the communicationinterface 270 via a wired connection. The vending machine interface 330may be connected to and controlled by a reporting module 332.

The reporting module 332 may connect the vending machine interface 330to the processor 310. The reporting module 332 may communicate the datafrom the vending machine interface 330 to the processor 310. Thereporting module 332 may control the vending machine interface 330. Insome embodiments, the reporting module 332 may be a DEX reportingmodule. In some embodiments, the vending machine interface 330 and thereporting module 332 may collectively be referred to as the reportingmodule 332. In some embodiments, the reporting module 332 may appendreceived report from the VMC with a device identifier 326 and a timefrom the timer 350. In some embodiments, the report generator 324 mayinterface with a plurality of modules within the VMC and create a reportfile, e.g. a DEX file.

In some embodiments, the reporting module 332 and/or the vending machineinterface 330 may perform voltage level detection. For instance, thereporting module 332 may identify a voltage level of a communicationinterface 270, e.g. a DEX port. The reporting module 332 may thendetermine whether a voltage level shifting is necessary. For instance,if the voltage levels on the vending machine interface 330 is not withinthe predefined voltage levels, then voltage level shifting is necessary.In some embodiments, if voltage level shifting is necessary, thereporting module 332 and/or the vending machine interface 330 mayperform voltage level shifting. In some embodiments, the vending machineinterface 330 may operate at either the RS-232C bipolar or TTL unipolarstandards. For instance, for the RS-232C standard, a threshold of +3 to+25 volts represents a logical 0, while −3 to −25 volts represents alogical 1. Given the variance of the output from a machine, the incomingsignal voltage may be regulated for the vending machine interface 330.In some embodiments, to interface with VMCs that are integrated circuits(ICs), the incoming signal voltage may be regulated to TTL unipolarvoltage levels compatible with the processor 310 which communicates withthe wireless communication interface 340. In some embodiments, voltagefrom the communication interface 270 will be boosted. For instance, ifthe signal is at TTL levels coming from an IC, the signal may be boostedto corresponding RS-232C level. In some embodiments, the reportingmodule 332 and/or the vending machine interface 330 may include a driveror a receiver to boost or shift voltages. For instance, a RS-232 driverand/or receiver may boost or shift voltages, and bridge the RS-232C andTTL voltage levels while maintaining proper current.

The ACI 335 may be used by the processor 310 to communicate via thewireless interface 340. In some embodiments, the ACI may function as aserial peripheral interface (SPI). In some embodiments, the ACI mayassert the processor 310 or the ACI as a master and the wirelessinterface 350 may be a slave. For instance, in embodiments in which thewireless interface 350 is a BLE module, the BLE module may be a slave.In some embodiments, the ACI 335 and the wireless communicationinterface 340 may share a synchronized clock. In some embodiments, theshared clock may be the timer 350. In some embodiments, communicationbetween the ACI 335 and the communication interface 340 may occur overone or more ports. In some embodiments, a port may be a Master-In,Slave-Out (MISO) port. In some embodiments, a port may be a Master-Out,Slave-In (MOSI) port. In some embodiments, the processor 310 may sendthe controller a handshake request over the ACI to the wirelessinterface 340, e.g. a Bluetooth module, to activate it and prepare itfor communications. In some embodiments, the wireless interface 350 maybe activated and return a “ready” signal to the processor 310 over theACI 335. After receiving a “ready” signal, the processor 310 and thewireless interface 340 may begin communication. The processor 310 mayregulate the flow of the data coming from the vending machine interface330, e.g. the DEX reporting module. The processor 310 may also sendpackets to the wireless interface 340 for it to transmit to a mobiledevice.

In some embodiments, the ACI 335 may be connected to the wirelessinterface 340 via one or more General-purpose input/output (GIPO) pins.In some embodiments, the ACI 335 may be connected to the wirelessinterface 340 via between one to sixteen GIPO pins. In some embodiments,there may be two GIPO pins. In some embodiments, the GIPO pins may beconfigured for receiving and transmitting data to and from the processor310 and/or the vending machine interface 330, where the data may be fromthe vending machine 110. In some embodiments, the ACI 335 may connect tothe wireless interface 340 via UART, 3-wire UART, USB, or secure digitalinput output (SDIO).

In some embodiments, when data is communicated to the wireless interface340, the processor 310 may break or combine the blocks, e.g.transmission blocks, coming from the vending machine interface 330and/or the reporting module 332, into packets that may be sent over theACI to wireless interface 340. The processor 310 may determine how tobreak or combine the blocks based on the number of bytes in a block thatare attempting to be transmitted by the reporting module 332. In someembodiments, one or more blocks may be stored temporarily in a memorybuffer before a connection over the wireless interface 340 isestablished, and once the connection is established, the one or moreblocks in the memory buffer may be sent over the wireless interface 340.

The wireless interface 340 may be a Bluetooth interface, a WiFiinterface, a near-field communication (NFC) interface, an infraredinterface, or any other wireless interface 340 that may be used tocommunicate with a mobile device 130. In some embodiments, the wirelesscommunication interface 340 may be a cellular data interface, such asGSM, UMTS, or LTE frequency bands, or UMTS, HSDPA, HSUPA, HSPA+, CDMA,LTE, or WiMAX networks. In some embodiments, the wireless communicationinterface 340 may be a ultra-narrow band (UNB) interface. In someembodiments, the wireless communication interface 340 may allow thereporting device 120 to communicate directly with a cellular tower, anetwork tower, a satellite, or a control server. In some embodiments,the wireless interface 340 may be a Bluetooth Low Engergy (BLE) module.

In some embodiments, the wireless interface 340, e.g. the BLE module,may connect directly to the reporting module 332. The wireless interface340 may be configured to operate as a peripheral device. In someembodiments, the wireless interface 340 may connect to the reportingmodule 332, e.g. the DEX reporting module. In some embodiments, thewireless interface 340 may be a host and transmit to a mobile device 130which includes its own wireless interface 340 that acts as a client. Insome embodiments, the wireless interface 340 may setup thiscommunication channel with the mobile device 130 with security features.In some embodiments, the processor 310 may send commands to the wirelessinterface 340 via the ACI 335 or any corresponding controller, e.g. BLEmodule controller. The wireless interface 340 may be toggled betweenactive mode and sleep mode by the power manager 328 and/or the processor310. The processor 310 may send a command to the wireless interface 340to sleep or to wake up to active mode. Once the wireless interface 340is awoken, it may broadcast its address for a fixed amount of time.Afterwards, the processor 310 may send a sleep command to put thereporting device 120 back into sleep mode.

The power source 360 may be a battery, a coin cell battery, or any otherpower source. In some embodiments, the reporting device 120 may betrickled charged via the vending machine interface 330 and not require aseparate power source. Harvesting power in this manner can furtherreduce the maintenance requirements of the reporting device 120 byobviating the need for periodic battery changes. In some embodiments,the power source may be another connection to the vending machine 110.In some embodiments where the power source 360 is a cell battery, thecell battery may be a 230 mAh coin cell battery. In some embodiments,different capacity, size, form of batteries may be used.

FIG. 4 is a block diagram depicting a general architecture of a mobiledevice 130 that may be employed with the reporting device of FIG. 3. Inbrief overview, the mobile device 130 may include a processor 410,memory 420, wireless interface 430 and user interface 440. The mobiledevice 130 may be a laptop, tablet computer, smart phone, wearablecomputer, smart vehicle, personal digital assistant, or any other suchdevice.

Still referring to FIG. 4, and in greater detail, the processor 410 maybe similar to the processor 310 as described in relation to FIG. 3, andthe processor 210 as described in relation to FIG. 2. In someembodiments, the processor 410 may be a microprocessor or a processorbased on a family of instruction set architectures such as ARM, PowerArchitecture, SPARC, MIPS, AVR32, and x86 architectures. In someembodiments, the processor 410 may be part of a SoC.

Memory 420 may be similar to memory 320 as described in relation to FIG.3 and memory 220 describe in relation to FIG. 2. In some embodiments,memory may include DRAM. Memory 420 may further include ROM and flashmemory. Memory 420 may include report application 425, which may includean aggregate report generator 427 and/or a trend analysis module 429.

The report application 425 may communicate via the wireless interface430 with the reporting device 120. The report application 425 maycommand the wireless interface 430 to connect with the wirelessinterface 340 of the reporting device 340. The aggregate reportgenerator 427 that aggregates multiple reports from a plurality ofvending machines 110. The trend analysis module 429 may analyze one ormore reports from a single or multiple vending machines 110 to predictor estimate a number of each items that will be required to stock eachvending machine 110.

The wireless interface 430 may be any wireless interface capable ofcommunicating with the wireless interface 340 of the reporting device120. In some embodiments, the wireless interface 430 may be a Bluetoothinterface, BLE interface, WiFi interface, and/or any other interfacethat is used by the wireless interface 340 of the reporting device 120.In some embodiments, the mobile device 130 may include a plurality ofwireless interfaces 430. For instance, the mobile device 130 may haveBLE interface as well as a cellular network interface.

The user interface 440 may provide an operator using the mobile device130 a way to view reports from the vending machine. The user interface440 may be a touch screen, a keyboard and a mouse, or any other inputand output interfaces. The user interface 440 may allow the user to setprices, find out which items have been sold, amount of cash withdrawn,examine the DEX report, etc.

FIG. 5A is a flowchart of an embodiments of a method for transmitting avending machine inventory report from a reporting device. In briefoverview, the method 500 includes receiving vending machine data from avending machine interface (step 505), storing the received vendingmachine data in a memory element (step 515), establishing a wirelessconnection to a device (step 525), and transmitting the vending machinedata to the device (step 535). In some embodiments, the method caninclude detecting the type of connected device (step 545). If the devicebelongs to an operator, the method can include issuing one or morereports based on the vending machine data transmitted (step 555). If thedevice belongs to a customer, the method can include prompting thecustomer for permission to upload the vending machine data to the server(step 565), and uploading the vending machine data to the server ifpermission is given (step 575). In some embodiments, the method caninclude rewarding the user with a promotional offer or points in returnfor providing the vending machine data to the server (step 585).

Still referring to FIG. 5A, and in greater detail, the method includesreceiving vending machine data from a vending machine interface 330(step 505). The vending machine interface 330 may comprise an interfaceby which the reporting module 332 communicates with the VMC via thecommunication interface 270 of FIG. 2. In receiving the vending machinedata, the vending machine interface 330 may detect a voltage level thatthe communication interface 270 uses for communication, and operate atthat voltage. In some implementations the communication voltage maycorrespond to TTL logic levels. In some implementations thecommunication voltage may correspond to RS-232 standard voltage levels.The vending machine interface 330 may be connected to the communicationinterface 270 via a wired connection. The wired interface may include aIA″ stereo plug and jack. The processor 310 receives the vending machinedata from the vending machine interface. In this manner, the vendingmachine interface 330 can buffer and convert the vending machine datareceived from the VMC to a format usable by the processor 310.

At step 515, the method includes storing the received vending machinedata in a memory element 320. The processor 310 can send the vendingmachine data to the memory element 320 for storage until such time asthe vending machine data can be uploaded to a mobile device 130 or 160.

At step 525, the method includes establishing a wireless connection to adevice 130. The reporting device 120 can search for a nearby device viaBluetooth, BLE, WiFi, NFC, or some other appropriate wirelessconnection. In some implementations, particularly in implementationswhere the reporting device 120 is battery powered or runs on some otherlimited power source, the method may include periodically waking up froma sleep mode and searching for a nearby device requesting a connection.Such steps are described in detail below with regard to FIG. 5B. Inother implementations, the reporting device may remain in a mode ofnormal operation while periodically searching for nearby mobile device130 or 160, or remaining available to requests for a wireless connectionfrom a mobile device 130 or 160.

At step 535, the method includes transmitting the vending machine datato the device 130. If a connection is successfully established in step525, the method includes transferring one or more files to the nearbydevice with which a connection was established. In some embodiments, oneor more files are transferred from the memory 320 of the reportingdevice 120. In some embodiments, the one or more files are DEX files ordata blocks. In some embodiments, the files and/or data blocks caninclude information such as vending machine identity information,vending machine model information, cash collected, cash on hand, vendcounts for all selections, vend counts for individual selections, timeand date information, and maintenance information. In some embodiments,the files are transferred from a temporary memory buffer. In someembodiments, the one or more files are from the reporting module 332 ofthe reporting device 120.

At step 545, the method can include detecting the type of connecteddevice. This step may be performed after a wireless connection isestablished with the mobile device 130 or 160 in step 525, and before orafter the vending machine data is transferred to that device. In someimplementations, the reporting device 120 may only transfer vendingmachine data to an operator-owned mobile device 130. In someimplementations, the reporting device 120 may also recognize acustomer-owned mobile device 160.

At step 555, if the connected device belongs to an operator, the methodcan include issuing one or more reports based on the vending machinedata transmitted. In some embodiments, the operator-owned mobile device130 can reset certain counters of the reporting device 120 or VMC toreflect any cash, inventory, or maintenance activities performed duringthe stop. In some implementations, the transaction may conclude withtransmitting the vending machine data to the server or a remote device150. In other implementations, further inventory or diagnostic reportsmay be prepared and transmitted to the server or remote device 150. Inthis manner, the vending machine data can be uploaded to the remotedevice 150 without requiring the reporting device 120 to have a costlyand energy-hungry cellular connection. This can reduce the operatingcost of the reporting device 120 by simplifying installation, reducingmaintenance, and reducing power requirements. In addition, it can allowthe reporting device 120 to function in areas where no cellular signalis available, such as in basements and subways.

At step 565, if the connected device belongs to a customer, the methodcan include prompting the customer for permission to upload the vendingmachine data to the server. A customer-owned mobile device 160 mayexecute an application or app that facilitate purchases from the vendingmachine. Such an app may interface with the reporting device 120 or theVMC directly. In addition to the customer service functions of the app,subject to the appropriate user permissions, receive vending machinedata from the reporting device 120 and upload it to a server forforwarding to a remote device 150.

At step 575, the method can include uploading the vending machine datato the server if permission is given. If the owner of the mobile-device160 consents, the mobile device 160 may transfer the vending machinedata over network connection 140 and either directly or indirectly to aremote device 150. In this manner, a route owner may receive informationfrom the reporting device 120 without having to personally visit thevending machine 110, although such updates may be sporadic.

At step 585, the method can include rewarding the user with apromotional offer in return for providing the vending machine data tothe server. To incentivize customers to help transfer vending machinedata via network 140 as described with regard to step 575, a customermay be offered a promotional credit or points towards future purchasesfor each 1, 2, 5, 10, or other number of upload “assists.” Customers maysimilarly receive credits for reporting low or empty inventories, orrepair needs of the vending machine 110. If enough customers can beincentivized to assist in uploading vending machine data, the number ofvisits required to maintain the vending machine 110 by the route ownermay be reduced, resulting in savings of time and money.

FIG. 5B is a flowchart of an embodiments of a method for transmitting avending machine inventory report from a reporting device. In briefoverview, the method 501 includes waking up from sleep and searching fornearby device (step 510), and determining whether a nearby device isrequesting connection (step 520). If a nearby device was not found, themethod includes returning to sleep (step 530). If a nearby device wasfound, the method includes establishing a connection with the device(step 540) and transferring a file to the device (step 550). The methodmay be performed by the reporting device 120.

Still referring to FIG. 5B, and in greater detail, the method includeswaking from sleep and searching for nearby device (step 510). Aprocessor 310 of the reporting device may wake up a wireless interface340. A processor 310 may start a timer that will expire at an expirationof a first predetermined time. In some embodiments, the firstpredetermined time may be 0.1 seconds. In some embodiments, the firstpredetermined time may be between 0.1 seconds to 10 seconds. In someembodiments, the first predetermined time may be between 0.001 secondsto 30 seconds. The first predetermined time may be the time during whichthe wireless interface 340 will search for a mobile device 130, e.g. thewireless interface 430 of the mobile device 130. The first predeterminedtime may be stored in the memory 320 of the reporting device 120. Thefirst predetermined time may be set or programmed according tospecifications of the type of wireless interface 340. The firstpredetermined time may be programmable through firmware of the reportingdevice 120, over a wireless or a wired connection. In some embodiments,during the first predetermined time, the wireless interface 340 mayattempt to connect to a wireless network, or attempt to establish a UNBor a cellular data connection. In some embodiments, the nearby devicemay be within 30 feet from the wireless interface 340. In someembodiments, the nearby device may be within broadcast range or a tower,a satellite, a UNB transceiver, etc. The location or distance betweenthe device may depend on the type of wireless interface 340, waveinterference, wave propagation, and/or wave characteristics that dependon wave frequency used by the wireless interface 340.

At step 520, the method includes determining whether the nearby devicerequesting connection is found. In some embodiments, the method includesdetermining whether the nearby device is sending a signal from anapplication executing in the nearby device. For instance, a reportapplication 425 within a mobile device 130 may be attempting to connectwith the wireless interface 340 of the reporting device 120. The methodmay include scanning throughout the first predetermined time period.

At step 530, if a nearby device has not been found, the method includesreturning to sleep mode. The reporting device 120 may return to sleepmode for a second predetermined period of time, which may be stored inmemory. In some embodiments, the second predetermined period of time maybe 4.9 seconds. In some embodiments, the second predetermined period oftime may be between 0.001 seconds to one week. In some embodiments, theprocessor 310 of the reporting device 120 and/or the reporting device120 may be programmed to a specific duty cycle, e.g. 2%. For instance,if the second predetermined period of time is 4.9 seconds and the firstpredetermined period of time is 0.1 seconds, then the duty cycle for theswitching is 2%. The processor 310 and/or the reporting device 120 maybe programmable to a set duty cycle and a length of period, which maydetermine the first and second predetermined periods of time. Theprocessor 310 and/or the reporting device 120 may be programmablethrough a firmware, over a wireless or a wired connection. In someembodiments, different values of first and second predetermined periodsof time may be used to prolong battery life or to draw less power fromthe power source 360 of the reporting device 120.

At step 540, if a connection was found in step 520, the method includesestablishing a connection. In some embodiments, a handshake isinitiated. If the connection fails to be established, the reportingdevice 120 may attempt to look for additional nearby devices for theremaining duration of the first predetermined time as specified in step510. In some embodiments, if a connection is failed, the reportingdevice 120 may return to step 510 to search for nearby devices for anadditional first predetermined period of time. In some embodiments, thereporting device 120 may return to sleep mode in step 530 when anattempted connection fails. In some embodiments, a connection may besuccessfully established with a nearby device.

At step 550, if a connection is successfully established, the methodincludes transferring one or more files to the nearby device with whicha connection was established. In some embodiments, one or more files aretransferred from the memory 320 of the reporting device 120. In someembodiments, the one or more files are DEX files or data blocks. In someembodiments, the files are transferred from a temporary memory buffer.In some embodiments, the one or more files are from the reporting module332 of the reporting device 120. After transferring one or more files toa nearby device, the reporting device 120 may return to sleep mode atstep 530 as described above.

FIG. 6 is a flowchart of an embodiment of a method for authenticating acomputing device for downloading vending machine data. The method 600includes the route driver arriving at the site of the vending machine110 (step 605), authorizing the route driver for the site using theserver 615 (step 610), authorizing the driver for private key access forthe site (step 620), downloading the site keys from the server 615 (step625), performing the data download for one or more vending machines 110(step 635), the drier leaving the site (step 640), the app deleting allprivate keys from the mobile device 130 (step 645), and completing thesite (650).

Prior to deployment, a reporting device 120 must be provisioned.Provisioning may occur at a site of manufacture or distribution of thereporting device 120, and be performed by an authorized representative.The authorized representative can provision the reporting device 120 byprogramming both a serial number and a private key for the reportingdevice 120. Prior to provisioning, the reporting device 120 willbroadcast its MAC address as part of the advertisement data to helpdistinguish it from other devices. The process of provisioning isdescribed further with regard to FIG. 8. After provisioning, thereporting device 120 will broadcast the serial number as part of theadvertisement packet and no longer the MAC address. Only an authorizeduser connecting to a provisioned reporting device 120 will be able toperform transfers of data from a connected vending machine 110. Anunauthorized user can be automatically disconnected upon authenticationfailure for a provisioned reporting device 120. Any user connecting to aprovisioned reporting device 120 can be automatically disconnected ifauthentication is not initiated within a predetermined time afterconnection; for example, 2 seconds. Any user can be automaticallydisconnected if authentication is not completed within a predeterminedtime after starting the authentication process; for example, 5 seconds.

Following deployment to a vending machine 110, a route driver or ownercan interface with the reporting device 120 as follows. The route driveror owner's mobile device 130 can be authenticated both against theserver 615 backend and with the reporting device 120. Reporting device120 authentication can occur using a challenge response and anasymmetric key encryption. A provisioned reporting device 120 can, uponrequest only, provide a challenge data set. The challenge data can beencrypted using the private key for the reporting device 120 and sentback to the mobile device 130. The mobile device 130 can perform thesame encryption step. Provided the encryption data matches, the mobiledevice 130 can be authenticated.

The method 600 can commence when the route driver carrying the mobiledevice 130 arrives at the site of the vending machine 110 (step 605).The route driver may be the route owner or another individual authorizedto receive data from the vending machine 110. The site may have a singlevending machine 110 or multiple vending machines 110. Typically eachvending machine 110 will be associated with one reporting device 120.The mobile device 130 can register its arrival at the site by severalmeans. For example, the mobile device 130 can recognize its proximity tothe site by GPS. In such implementations, the app running on the mobiledevice 130 can use the GPS or other location services of the mobiledevice 130 to determine that the route driver is nearing the site. Inthis manner, the mobile device 130 can begin the authorization processand obtain private keys for the reporting devices 120 at the site priorto arrival. Obtaining authorization and the private keys in advance ofarrival to the site can be especially helpful for visiting vendingmachines where cellular and wireless network connections are unavailableor unreliable, such as in subway stations or basements. In anotherexample, the route driver can select the next site from a menu whendeparting the previous site, or while on route in between sites. Inanother example, the route driver can enter a code for the next site.The codes for each site can be changed periodically to increase securityof the system. The codes can be entered manually by the route driver,printed on a machine-readable itinerary, or downloaded to the mobiledevice 130 weekly, daily, twice per day, or at some other appropriateinterval.

The method can include authorizing the route driver for the site (step610). This step can include contacting the server 615 using the mobiledevice 130 via network 140 to obtain authorization to receive data fromthe one or more reporting devices 120 at the site. As described above,this step 610 can be performed prior to the route driver's arrival atthe site. The route drive can be authorized to receive the private keysnecessary to contact the reporting device 120 at the site (step 620).The method can include downloading the private keys for the site fromthe server 615 (step 625).

The method 600 can include downloading the vending machine data from allof the reporting devices 120 at the site (step 635). This step caninclude all of the actions of steps 535 and 550 described above.Downloading can be accomplished for a single vending machine 110 andreporting device 120, or for multiple vending machines 110 and reportingdevices 120 for which keys were obtained in steps 620 and 625.

The method 600 can include the route driver leaving the site (step 640).After the route driver has completed all data transfer, inventorystocking, and maintenance activities and left the site, the app canautomatically delete all of the private keys from the mobile device 130that were obtained in step 625 (step 645). The app can delete theprivate keys based on a confirmation from the route driver that the hehas exited the site. In another implementation, the app can delete theprivate keys when the mobile device 130 loses its connection to thereporting device 120, as would occur when the distance between thembecomes too great to maintain the connection. In another implementation,the app can delete the private keys when a location service of themobile device 130 such as GPS indicates that the mobile device 130 hasmoved more than a threshold distance away from the site. In this manner,the route driver and the mobile device 130 can be authenticated for eachvisit, allowing multiple route drivers or mobile devices 130 to accessthe reporting device 120 without reducing security by allowing duplicateprivate keys to remain on multiple devices. The method 600 can concludewhen the site visit is complete (step 650).

FIG. 7 is a flowchart of an embodiment of a method for authenticating amobile device 130 for downloading vending machine data from a reportingdevice 120. This method 700 could also be performed by an app running ona customer-owned mobile device 160, if the customer allows for upload ofvending machine data using the mobile device 160. The method can includeconnecting to the reporting device 120 (step 705), obtaining the privatekey for the reporting device 120 (step 710), requesting a challenge fromthe reporting device 120 (step 715), creating a hash with the challengeand the private key for the reporting device 120 (step 720), verifyingthe challenge response (step 725), downloading the data from thereporting device 120 (step 730), and uploading the data to a remotedevice 150 (step 735).

The method can include connecting to the reporting device 120 (step705). As described above with regard to step 525, the reporting device120 can wake up from a sleep mode periodically to search for a nearbymobile device 130 or 160. If a connection is established, theauthentication process can begin with the mobile device 130 obtainingthe private key for the reporting device 120 (step 710). The mobiledevice 130 can obtain the private key from the key storage server 615.If the authorization process is not commenced within a predeterminedtime following the connection, the reporting device 120 can disconnectfrom the mobile device 130.

The method can include requesting a challenge from the reporting device120 (step 715). The mobile device 130 sends a request to the reportingdevice 120 for a challenge. The reporting device 120 can issue achallenge to determine that the mobile device 130 has been authorizedfor the site.

The method can include creating a hash with the challenge and theprivate key for the reporting device 120 (step 720). The mobile device130 can take receive the challenge from the reporting device 120 andcreate a hash with the challenge and the private key. The mobile device130 can transmit the result of the hash back to the reporting device120.

The method can include verifying the challenge response (step 725). Thereporting device 120 can receive the result of the hash from the mobiledevice 130 and verify that the mobile device 130 is in possession of avalid private key. If the mobile device 130 is unable to respondcorrectly to the challenge within a predetermined time followingissuance of the challenge, the reporting device 120 can disconnect fromthe mobile device 130.

The method can include downloading the data from the reporting device120 (step 730). If the mobile device 130 adequately responds to thechallenge, the reporting device 120 can transfer the vending machinedata to the mobile device 130.

The method can include uploading the data to a remote device 150 (step735). The mobile device 130 can upload the vending machine data receivedfrom the reporting device 120 to a remote device 150 via the network140. The mobile device 130 can also upload the vending machine data to aserver such as server 615 so that it may be accessed by multiple remotedevices 150.

FIG. 8 is a flowchart of an embodiment of a method for provisioning acommunication device for a vending machine. The method 800 can includescanning a reporting device 120 (step 805), requesting a private key forthe reporting device 120 from a server 615 (step 810), writing a serialnumber and the private key to the reporting device 120 (step 615), andauthenticating with the reporting device 120 to verify successfulprovisioning (step 820).

A new reporting device 120 may need to be provisioned before use. Areporting device 120 can be provisioned by uploading the device serialnumber to the server. An authorized individual can upload the serialnumber to the server using a mobile device 130 or a remote device 150.The server should in turn generate a private key for the device and sendthis information back to the app on the mobile device 130 or remotedevice 150. Both pieces of data are then written to the reporting device120. The app can then issue an authentication challenge request toensure the provisioning process was performed successfully.Un-provisioned reporting devices 120 may not be protected. A user isauthenticated by using an asymmetrical encryption scheme involving aunique challenge generated by the reporting device 120 and the device'sprivate key. A provisioned reporting device 120 cannot be provisioned asecond time since the provisioning information is not encrypted. It canbe possible for a provisioned reporting device 120 to be un-provisionedby an authorized representative.

The method 800 can include scanning a reporting device 120 (step 805).The new, un-provisioned reporting device 120 can have the serial numberaffixed to it via a sticker having a computer readable label such as abar code or QR code. A mobile device 130 or a remote device 150executing the appropriate app can read the code to obtain the serialnumber of the un-provisioned reporting device 120. Alternatively, theserial number can be entered into the app manually.

The method 800 can include requesting a private key for the reportingdevice 120 from a server 615 (step 810). The app can take the serialnumber read or entered into the app in the previous step and transmit itto the server 615. The server 615 can take the serial number andgenerate a private key, which can be transmitted back to the deviceexecuting the app.

The method 800 can include writing a serial number and the private keyto the reporting device 120 (step 615). The app can write the serialnumber and the private key to memory 320 of the reporting device 120.The serial number can serves as the device identifier 326 of thereporting device 120. The reporting device 120 should now besuccessfully provisioned.

The method 800 can include authenticating with the reporting device 120to verify successful provisioning (step 820). A mobile device 130 canthen attempt to connect to the provisioned reporting device 120 andperform authentication steps as described with regard to FIG. 7. Ifauthentication is successful, the reporting device 120 can be verifiedas successfully provisioned.

FIG. 9 is a flowchart of an embodiment of a software interface forfacilitating a vending machine purchase from a mobile device using acommunication device for a vending machine. To use the software, afront-end user must have an account and be logged into that accountwithin the software running on a mobile device 160. The front-end usercan launch the an app to make a purchase from an equipped vendingmachine 110. Upon launching the app, the app can locate nearby vendingmachines 110 installed with a reporting device 120 are wirelesslylocated automatically. The front-end user can select from inventory inthe vending machine 110 using one of two views in the app: an augmentedreality view or a computer generated view. The augmented reality viewrequires real-time and clear optical data of the vending machine 110.The computer generated view requires a stable connection to the network140 to represent the vending machine's 110 current inventory. The usercan submit corrections to the vending machine's 110 inventory levels,and report problems with the machine. Reporting inventory corrections ormachine problems may be rewarded with a user reputation system, that mayinfluence rate at which user accrues rewards points and climbs theleaderboard.

The software can provide nutrition, pricing, and marketing informationabout available inventory in the vending machine 110 to the front-enduser. The front-end user can select and purchase an item from theinventory, if there are sufficient funds in the account, by insertingcash into the vending machine 110, or by redeeming an earned rewardcredit. The front-end user may add funds to their account within the appby authorizing a transaction with a credit card, debit card, or othermethod of payment. Completed purchases can be recorded for the front-enduser. Completed purchases can be made available to review in thefront-end user's account history. Completed purchases can alsocontribute to unlock various achievements, earn badges for suchachievements, share achievements using social media, and raise theuser's ranking on a leaderboard. The app will analyze completed andincomplete purchases to automatically make purchase suggestions to thefront-end user, and for marketing or advertising purposes.

Upon launching the app, the app can present the front-end user with thesplash screen 905. The app can present the user with a login screen 910with an option to create an account. If the user lacks an existingaccount, the app can direct the user to the account creation screen 915for entry of information necessary to create an account. Followingaccount creation, the app can present the user with the main menu 920.If the user has an existing account, the app can present the login/userselection screen 925. Following a successful login, the app can presentthe user with the main menu 920.

The main menu screen 920 of the app can present the user with severaloptions. The user can select whether to go to a purchase screen 930, anachievements and rewards screen 935, or a settings and account screen940. From the purchase screen 930, the app can present the user with asearch screen 945 where the user can search for nearby vending machines110. If a nearby vending machine can be located, the app can offer avirtual reality view 950 of the vending machine 110, or a manual view955. The manual view 955 can simply include the user viewing the vendingmachine normally without aid from the app. The app can present a userwith an item and payment selection screen 960. The app can confirm thepurchase 965. The app may decline to confirm the purchase if the user'saccount does not contain sufficient funds. In such case, the app maypresent the user with a screen for selecting a new payment method orloading more funds 970. The app can present the user with the add fundsscreen 975. The app can confirm the purchase if the user's accountcontains sufficient funds for the purpose. In such case, the app candirect the vending machine 110 to dispense the item, and can adjust thereward points and membership level of the user accordingly 980. The appcan return the user to the main menu 920.

The app can present the user with an achievements and rewards screen935. This screen can present the user with accumulated achievements andrewards, including any credits earned towards purchases. The app canpresent the user with a leaderboard 985 that can present the user'srewards and achievements compared to other users.

The app can present the user with a settings and account screen 940.This screen can present the user with account information such as username and the option to change the account password, as well as appsettings such as payment information. The app settings can includepermissions for operations such as uploading vending machine data to theserver 615 using the wireless or cellular network connection of themobile device 160. The app can present the user with a purchase history990. The app can present the user with a balance of funds 995 screen.From the balance of funds screen 995, the app can present the user withthe add funds screen 975.

FIG. 10 is a flowchart of an embodiment of a software interface formanaging a communication device for a vending machine with a computingdevice. To use the software, a back-end user must have an account and belogged into that account within the software. The back-end user is ableto access the software using a third-party mobile device or within aweb-browser. The back-end user is only able to connect to a vendingmachine 110 installed with the hardware previously activated from thelogged-in account. A back-end user running the software on a third-partymobile device can automatically connect to nearby one or more vendingmachines 110. Data generated by the vending machine 110 after the lastsynchronization can be automatically downloaded to the software. Ifpresent, critical and urgent information, like component failures, canbe visually and audibly annunciated to the back-end user until resolvedor dismissed. If there is no critical or urgent information, thesoftware can prompt the back-end user to hold the third-party device sothe software can optically scan the inventory in the vending machine.The software can utilize image and pattern recognition to automaticallydetect what products are currently stocked as inventory and theirrelative position in the vending machine 110. The software can promptthe back-end user to confirm and correct the identification andplacement of products.

Upon launching the app, the app can present the front-end user with thesplash screen 1005. The app can present the user with a login screen1010 with an option to create an account. If the user lacks an existingaccount, the app can direct the user to the account creation screen 1015for entry of information necessary to create an account. Followingaccount creation, the app can present the user with the main menu 1020.If the user has an existing account, the app can present the login/userselection screen 1025. Following a successful login, the app can presentthe user with the main menu 1020.

The main menu screen 1020 of the app can present the user with severaloptions. The user can select whether to go to a service screen 1030, adata and logs screen 1040, and a settings screen 1050. From the servicescreen 1030, the app can prompt the user to find and connect to anynearby vending machines 110 1031. The app can download sales, inventory,and diagnostic data from the reporting device 120 1032. The app can alsoassist the user with inventory management tasks. The app can ask theuser whether it would like to perform an optical inventory scan 1033. Ifthe user wishes, the app can use a camera of the mobile device 130 tocapture an image of the item contents of the vending machine 110 1034.The app can employ image recognition capabilities to determine whichproducts are in which places in the vending machine 110, and compile aninventory based on one or more images captured with the camera.Alternatively, the user can manually enter the vending machine 110inventory via a manual product and placement entry screen 1035. Ineither case, the app can present the user with an inventory level andproduct placement confirmation screen 1036. The resulting product-basedinventory can be combined with the transaction-based inventorydetermined from the vending machine data to provide records suitable forcompliance audits; for example, to show that the vending machine owneris complying with stocking and placement agreements with productmanufacturers. The user can return to the service screen 1030 of the appand repeat the process for any additional vending machines 110 at thesite.

The app can present the user with a data and logs screen 1040. Thisscreen can present the user with several options for viewing informationabout vending machines 110 associated with the user's account. The appcan present the user with a map including vending machines 110 and aroute 1041. The app can present the user with sales and inventoryreports and projections 1042. The app can present the user with detailedlogs and history 1043. The app can present the user with a diagnosticsscreen 1044.

The app can present the user with a settings screen 1050. This screencan present the user for several options for adjusting settingassociated with the app. The app can present the user with an appsettings screen 1051 for adjusting the behavior of the app. The app canpresent the user with an account management screen 1052 for modifyingaccount parameters such as username and password and variouspermissions.

FIG. 11 is a flowchart of an embodiment of a software interface formanaging a communication device 130 for a vending machine with a remotedevice 150. A back-end user running the software within a web-browsermay be unable to automatically connect to machines. Sales and inventorydata may thus be edited or manually entered using this version of thesoftware. Both the mobile and desktop versions of the software can allowaccess to account management, historical sales, and inventory reportsfrom vending machines 110 associated with the account, and locationinformation for vending machines 110 associated with the account. Thesoftware can automatically generate sales and inventory reports for theback-end user. The software can also generate automatic suggestions,including price changes, product offerings, and product placement, toincrease sales and decrease waste for each vending machine 110. Thesoftware can generate these suggestions using information from vendingmachines 110 associated with the back-end user's account, as well asaggregate data from all vending machines 110 equipped with the reportingdevice 120. The software can also record usage of the hardware andsoftware by back-end users, for the tracking of employee performance.

The software can present the user with a home page 1105. From the homepage 1105, the software can present the user with a login and userselection page 1110. Following a successful login or account creation,the software can present the user with several options. The software canpresent the user with a service route page 1120. The software canpresent the user with a data and logs page 1130. The software canpresent the user with a settings page 1140.

The software can present the user with the service route page 1120,which can bring the user to a vending machine and route information page1145. The vending machine and route information page 1145 can presentthe user with options for manually entering and editing routeinformation, vending machine information, and inventory information.

The software can present the user with the data and logs page 1130. Fromthis page 1130 the user can navigate to several informational pagesabout the vending machines and routes. The software can present the userwith maps of routes and vending machines on page 1150. The software canpresent the user with sales reports and sales and inventory projectionson page 1155. The software can present the user with the status andactivity of employees such as route drivers on page 1160. The softwarecan present the user with financial reports on page 1165. The softwarecan present the user with diagnostic information about the vendingmachines on page 1170.

The software can present the user with a settings page 1140. From thispage 1140 the user can navigate to a display settings page 1175. Thedisplay settings page 1175 can present the user with options foradjusting the layout and behavior of the various pages presented by thesoftware. The user can navigate to an account management page 1180. Theaccount management page 1180 can present the user with options formodifying account parameters such as username and password.

Having now described some illustrative implementations, it is apparentthat the foregoing is illustrative and not limiting, having beenpresented by way of example. In particular, although many of theexamples presented herein involve specific combinations of method actsor system elements, those acts and those elements may be combined inother ways to accomplish the same objectives. Acts, elements andfeatures discussed in connection with one implementation are notintended to be excluded from a similar role in other implementations orimplementations. For example, although the systems and methods describedherein may be described generally with an agent and native contactapplication, these systems and methods may be implemented by anapplication, such as a non-native application or the native applicationitself. In one implementation, the native contact app may include any ofthe implementations of the agent described herein. In anotherimplementation, the agent may provide the functionality of a contactsapplication (native or non-native) and update the agent's contactdatabase instead of another application, such as the native contactapplication.

The phraseology and terminology used herein is for the purpose ofdescription and should not be regarded as limiting. The use of“including” “comprising” “having” “containing” “involving”“characterized by” “characterized in that” and variations thereofherein, is meant to encompass the items listed thereafter, equivalentsthereof, and additional items, as well as alternate implementationsconsisting of the items listed thereafter exclusively. In oneimplementation, the systems and methods described herein consist of one,each combination of more than one, or all of the described elements,acts, or components.

Any references to implementations or elements or acts of the systems andmethods herein referred to in the singular may also embraceimplementations including a plurality of these elements, and anyreferences in plural to any implementation or element or act herein mayalso embrace implementations including only a single element. Referencesin the singular or plural form are not intended to limit the presentlydisclosed systems or methods, their components, acts, or elements tosingle or plural configurations. References to any act or element beingbased on any information, act or element may include implementationswhere the act or element is based at least in part on any information,act, or element.

Any implementation disclosed herein may be combined with any otherimplementation or embodiment, and references to “an implementation,”“some implementations,” “an alternate implementation,” “variousimplementations,” “one implementation” or the like are not necessarilymutually exclusive and are intended to indicate that a particularfeature, structure, or characteristic described in connection with theimplementation may be included in at least one implementation orembodiment. Such terms as used herein are not necessarily all referringto the same implementation. Any implementation may be combined with anyother implementation, inclusively or exclusively, in any mannerconsistent with the aspects and implementations disclosed herein.

References to “or” may be construed as inclusive so that any termsdescribed using “or” may indicate any of a single, more than one, andall of the described terms.

Where technical features in the drawings, detailed description or anyclaim are followed by reference signs, the reference signs have beenincluded to increase the intelligibility of the drawings, detaileddescription, and claims. Accordingly, neither the reference signs northeir absence have any limiting effect on the scope of any claimelements.

The systems and methods described herein may be embodied in otherspecific forms without departing from the characteristics thereof. Theforegoing implementations are illustrative rather than limiting of thedescribed systems and methods. Scope of the systems and methodsdescribed herein is thus indicated by the appended claims, rather thanthe foregoing description, and changes that come within the meaning andrange of equivalency of the claims are embraced therein.

What is claimed is:
 1. A communication device for a vending machinecomprising: a vending machine interface; a wireless communicationinterface; a memory element; and a processor: receiving vending machinedata from the vending machine interface, the vending machine dataidentifying products sold; storing, in the memory element, the vendingmachine data; entering into a sleep mode when inactive; exiting thesleep mode periodically; searching, using the wireless communicationinterface, for a nearby device; establishing, using the wirelesscommunication interface, a connection to the device; receiving, from thedevice, a request for an encryption challenge; transmitting, to thedevice, the encryption challenge; receiving, from the device, a responseto the encryption challenge; verifying the response; and transmitting,via the wireless communication interface, the vending machine data tothe device.
 2. The communication device of claim 1, wherein the vendingmachine interface is configured to detect a voltage level of the dataport and convert the voltage level to a voltage level readable by theprocessor.
 3. The communication device of claim 1, wherein the vendingmachine interface is configured to disconnect, when inactive, from thevending machine.
 4. The communication device of claim 1, the processorfurther: receiving, via the wireless communication interface, a paymentmade from a second device; storing, in the memory element, a record ofthe payment; and transmitting, via the vending machine interface, aninstruction to the vending machine to dispense an item associated withthe payment.
 5. The communication device of claim 4, wherein the paymentmade from the second device is in the form of a promotional credit. 6.The communication device of claim 1, the processor further: receiving,via the wireless communication interface, a repair-needed notificationfrom a second device; storing, in the memory element, the repair-needednotification; and transmitting, via the wireless communicationinterface, the repair-needed notification to the device.
 7. Thecommunication device of claim 1, the processor further: establishing,using the wireless communication interface, a connection to a seconddevice; and transmitting, via the wireless communication interface, thevending machine data to the second device.
 8. A method for communicatingwith a vending machine via a communication device having a vendingmachine interface, a wireless communication interface, a memory element,and a processor, the method comprising: receiving vending machine datafrom the vending machine interface, the vending machine data identifyingproducts sold; storing, in the memory element, the vending machine data;entering into a sleep mode when inactive; exiting the sleep modeperiodically; searching, using the wireless communication interface, fora nearby device; establishing, using the wireless communicationinterface, a connection to the device; receiving, from the device, arequest for an encryption challenge; transmitting, to the device, theencryption challenge; receiving from the device, a response to theencryption challenge; verifying the response; and transmitting, via thewireless communication interface, the vending machine data to thedevice.
 9. The method of claim 8, further comprising: detecting, usingthe vending machine interface, a voltage level of a data port of thevending machine; converting, by the vending machine interface, thevoltage level to a voltage level readable by the processor.
 10. Themethod of claim 8, further comprising disconnecting the vending machineinterface, when inactive, from the vending machine.
 11. The method ofclaim 8, comprising: receiving, via the wireless communicationinterface, a payment made from a second device; storing, in the memoryelement, a record of the payment; and transmitting, via the vendingmachine interface, an instruction to the vending machine to dispense anitem associated with the payment.
 12. The method of claim 11, whereinthe payment made from the second device is in the form of a promotionalcredit.
 13. The method of claim 8, comprising: receiving, via thewireless communication interface, a repair-needed notification from asecond device; storing, in the memory element, the repair-needednotification; and transmitting, via the wireless communicationinterface, the repair-needed notification to the device.
 14. The methodof claim 8, comprising: establishing, using the wireless communicationinterface, a connection to a second device; and transmitting, via thewireless communication interface, the vending machine data to the seconddevice.
 15. A vending machine management system comprising: acommunication device for a vending machine comprising: a processor; avending machine interface receiving vending machine data from thevending machine interface, the vending machine data identifying productssold; a memory element for storing the vending machine data; and a firstwireless communication interface for transmitting and receiving data andinstructions, the processor entering into a sleep mode when inactive,exiting the sleep mode periodically, and searching for a nearby mobilecomputing device using the first wireless communication interface; amobile computing device comprising: a second wireless communicationinterface for establishing a connection to the first wirelesscommunication interface and a computer network, the second wirelesscommunication interface: transmitting, to the communication device, arequest for an encryption challenge; receiving, from the communicationdevice, an encryption challenge; transmitting, to the communicationdevice, a response to the encryption challenge receiving the storedvending machine data from the communication device subject toverification of the response by the communication device.
 16. Thevending machine management system of claim 15, wherein the vendingmachine interface is configured to detect a voltage level of the dataport and convert the voltage level to a voltage level readable by theprocessor.
 17. The vending machine management system of claim 15,wherein the vending machine interface is configured to disconnect, wheninactive, from the vending machine.
 18. The vending machine managementsystem of claim 15, wherein: the communication device receives, via thewireless communication interface, a payment made from a second device;the communication device stores, in the memory element, a record of thepayment; and the communication device transmits, via the vending machineinterface, an instruction to the vending machine to dispense an itemassociated with the payment.
 19. The vending machine management systemof claim 15, wherein: the communication device receives, via thewireless communication interface, a repair-needed notification from asecond device; the communication device stores, in the memory element,the repair-needed notification; and the communication device transmits,via the wireless communication interface, the repair-needed notificationto the mobile computing device.
 20. The vending machine managementsystem of claim 15, wherein: the communication device establishes, usingthe wireless communication interface, a connection to a second device;the communication device transmits, via the wireless communicationinterface, the vending machine data to the second device; and mobilecomputing device receives, via the second wireless communicationinterface, the vending machine data over the computer network.